Templately\Core\Importer\FullSiteImport D

Total Complexity 201
Dependencies 14
Dependents 4
Total lines 1,110
Lines of code 769
Logical lines of code 457
Comment lines 144
Methods 43
Properties 14

Methods 43

Method Rating Maintainability Complexity Lines of code
import_revert()
C
34 28 77
import()
A
37 13 79
normalize_imported_data()
A
46 15 36
feedback_form()
A
44 10 39
download_zip()
A
44 8 41
import_info()
A
47 8 34
google_font()
A
48 7 31
import_status()
S
57 8 15
import_settings()
S
49 7 28
register_shutdown()
S
50 7 25
handle_import_status()
S
46 6 37
add_ajax_action()
S
54 7 20
finishRequestHeaders()
S
48 6 35
__construct()
S
52 6 23
unzip()
S
54 6 22
initialize_props()
S
57 6 18
import_close_feedback_modal()
S
50 4 27
unzip_file()
S
56 4 18
getConnectionStatusText()
S
62 4 13
check_writing_permission()
S
61 3 11
start_content_import()
S
51 2 25
has_revert()
S
66 3 8
redirect_for_archives()
S
67 3 7
add_revert_hooks()
S
58 1 17
throw_unknown()
S
71 2 6
admin_init()
S
71 2 6
get_post_type_label_by_slug()
S
69 2 7
throw_non_retryable()
S
71 2 6
throw_retryable()
S
71 2 6
skipped_plugin()
S
78 2 3
read_manifest()
S
64 2 9
throw()
S
71 2 6
info_get_api_url()
S
78 2 3
get_api_url()
S
77 2 3
after_install_hook()
S
91 1 2
revert()
S
91 1 2
before_install_hook()
S
79 1 3
allow_svg_upload()
S
76 1 4
update_session_data()
S
80 1 3
get_session_data()
S
81 1 3
clear_session_data()
S
80 1 3
update_imported_list()
S
72 1 5
get_request_params()
S
82 1 3